{
  Author: Niels A.D
  Project: Lape (http://code.google.com/p/la-pe/)
  License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html)

  Invoke headers for emitter class.
}
{%MainUnit lpcodeemitter.pas}

function _IncCall_Var(AVOffset: TVarStackOffset; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;
function _IncCall_PVar(AVOffset: TVarStackOffset; APOffset: TPointerOffset; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;
function _IncCall_Ptr(APtr: Pointer; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;

function _InvokeImported_Var(AVOffset: TVarStackOffset; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_PVar(AVOffset: TVarStackOffset; APOffset: TPointerOffset; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Ptr(APtr: Pointer; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;

function _InvokeImported_Var_Stk(AVOffsetS: TVarStackOffset; AParamSize: TParamSize; AStackInc: TStackInc; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Var_PStk(AVOffsetS: TVarStackOffset; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Var_Var(AVOffsetS, AVOffsetD: TVarStackOffset; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Var_PVar(AVOffsetS, AVOffsetD: TVarStackOffset; APOffset: TPointerOffset; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Var_Ptr(AVOffsetS: TVarStackOffset; APtrD: Pointer; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;

function _InvokeImported_PVar_Stk(AVOffsetS: TVarStackOffset; APOffsetS: TPointerOffset; AParamSize: TParamSize; AStackInc: TStackInc; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_PVar_PStk(AVOffsetS: TVarStackOffset; APOffsetS: TPointerOffset; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_PVar_Var(AVOffsetS, AVOffsetD: TVarStackOffset; APOffsetS: TPointerOffset; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_PVar_PVar(AVOffsetS, AVOffsetD: TVarStackOffset; APOffsetS, APOffsetD: TPointerOffset; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_PVar_Ptr(AVOffsetS: TVarStackOffset; APOffsetS: TPointerOffset; APtrD: Pointer; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;

function _InvokeImported_Ptr_Stk(APtrS: Pointer; AParamSize: TParamSize; AStackInc: TStackInc; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Ptr_PStk(APtrS: Pointer; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Ptr_Var(APtrS: Pointer; AVOffsetD: TVarStackOffset; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Ptr_PVar(APtrS: Pointer; AVOffsetD: TVarStackOffset; APOffset: TPointerOffset; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Ptr_Ptr(APtrS, APtrD: Pointer; AParamSize: TParamSize; var Offset: Integer; Pos: PDocPos = nil): Integer; overload;


function _IncCall_Var(AVOffset: TVarStackOffset; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;
function _IncCall_PVar(AVOffset: TVarStackOffset; APOffset: TPointerOffset; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;
function _IncCall_Ptr(APtr: Pointer; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;

function _InvokeImported_Var(AVOffset: TVarStackOffset; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_PVar(AVOffset: TVarStackOffset; APOffset: TPointerOffset; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Ptr(APtr: Pointer; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;

function _InvokeImported_Var_Stk(AVOffsetS: TVarStackOffset; AParamSize: TParamSize; AStackInc: TStackInc; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Var_PStk(AVOffsetS: TVarStackOffset; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Var_Var(AVOffsetS, AVOffsetD: TVarStackOffset; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Var_PVar(AVOffsetS, AVOffsetD: TVarStackOffset; APOffset: TPointerOffset; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Var_Ptr(AVOffsetS: TVarStackOffset; APtrD: Pointer; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;

function _InvokeImported_PVar_Stk(AVOffsetS: TVarStackOffset; APOffsetS: TPointerOffset; AParamSize: TParamSize; AStackInc: TStackInc; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_PVar_PStk(AVOffsetS: TVarStackOffset; APOffsetS: TPointerOffset; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_PVar_Var(AVOffsetS, AVOffsetD: TVarStackOffset; APOffsetS: TPointerOffset; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_PVar_PVar(AVOffsetS, AVOffsetD: TVarStackOffset; APOffsetS, APOffsetD: TPointerOffset; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_PVar_Ptr(AVOffsetS: TVarStackOffset; APOffsetS: TPointerOffset; APtrD: Pointer; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;

function _InvokeImported_Ptr_Stk(APtrS: Pointer; AParamSize: TParamSize; AStackInc: TStackInc; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Ptr_PStk(APtrS: Pointer; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Ptr_Var(APtrS: Pointer; AVOffsetD: TVarStackOffset; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Ptr_PVar(APtrS: Pointer; AVOffsetD: TVarStackOffset; APOffset: TPointerOffset; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;
function _InvokeImported_Ptr_Ptr(APtrS, APtrD: Pointer; AParamSize: TParamSize; Pos: PDocPos = nil): Integer; overload;
